import request from '@/utils/request'

// 新增评论
export function addReplyService(data) {
  return request({
    url: '/reply/add',
    method: 'post',
    data
  })
}

// 分页查询评论（楼中楼结构）
export function getReplyListService(params) {
  return request({
    url: '/reply/list',
    method: 'get',
    params
  })
}

// 删除评论
export function deleteReplyService(id) {
  return request({
    url: `/reply/delete/${id}`,
    method: 'delete'
  })
} 